package com.kakarote.bi.entity.VO;

import com.kakarote.bi.common.utils.BiDataFormatUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel("客户总量分析VO")
@Getter
@Setter
public class BiTotalCustomerVO implements BiDataFormatUtil.BaseDateTypeSetting, BiDataFormatUtil.BaseUserSetting, Serializable {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("员工姓名")
    private String realname;


    @ApiModelProperty("当前客户数")
    private Integer customerSumNum;

    @ApiModelProperty("客户数量")
    private Integer customerNum;

    @ApiModelProperty("成交客户数量")
    private Integer dealCustomerNum;

    @ApiModelProperty("回款金额")
    private BigDecimal receivablesMoney;

    @ApiModelProperty("合同金额")
    private BigDecimal contractMoney;

    @ApiModelProperty("客户成交率")
    private BigDecimal dealCustomerRate;

    @ApiModelProperty("类型")
    private String type;

    @Override
    public String toString() {
        return "BiTotalCustomerVO{" +
                "userId=" + userId +
                ", realname='" + realname + '\'' +
                ", customerNum=" + customerNum +
                ", dealCustomerNum=" + dealCustomerNum +
                ", receivablesMoney=" + receivablesMoney +
                ", contractMoney=" + contractMoney +
                ", dealCustomerRate=" + dealCustomerRate +
                ", type='" + type + '\'' +
                '}';
    }
}
